package sjms.behavior.template;

/**
 * @ClassName:
 * @Description:
 * @Author fcb
 * @Date 2020/7/12 15:02
 */
public class SubModel2 extends Model {

    @Override
    void step1() {
        System.out.println("Model2----Step1");
    }

    @Override
    void step2() {
        System.out.println("Model2----Step2");
    }

    @Override
    void step3() {
        System.out.println("Model2----Step3");
    }

    @Override
    public boolean isStep3(){
        return false;
    }
}
